Variability Abstractions: Trading Precision for Speed in Family-Based Analyses (Extended Version)
نویسندگان
چکیده
Family-based (lifted) data-flow analysis for Software Product Lines (SPLs) is capable of analyzing all valid products (variants) without generating any of them explicitly. It takes as input only the common code base, which encodes all variants of a SPL, and produces analysis results corresponding to all variants. However, the computational cost of the lifted analysis still depends inherently on the number of variants (which is exponential in the number of features, in the worst case). For a large number of features, the lifted analysis may be too costly or even infeasible. In this paper, we introduce variability abstractions defined as Galois connections and use abstract interpretation as a formal method for the calculational-based derivation of approximate (abstracted) lifted analyses of SPL programs, which are sound by construction. Moreover, given an abstraction we define a syntactic transformation that translates any SPL program into an abstracted version of it, such that the analysis of the abstracted SPL coincides with the corresponding abstracted analysis of the original SPL. We implement the transformation in a tool, reconfigurator that works on Object-Oriented Java program families, and evaluate the practicality of this approach on three Java SPL benchmarks.
منابع مشابه
Variability Abstractions: Trading Precision for Speed in Family-Based Analyses
Family-based (lifted) data-flow analysis for Software Product Lines (SPLs) is capable of analyzing all valid products (variants) without generating any of them explicitly. It takes as input only the common code base, which encodes all variants of a SPL, and produces analysis results corresponding to all variants. However, the computational cost of the lifted analysis still depends inherently on...
متن کاملFinding Suitable Variability Abstractions for Family-Based Analysis
For program families (Software Product Lines), specially designed variability-aware static (dataflow) analyses allow analyzing all variants (products) of the family, simultaneously, in a single run without generating any of the variants explicitly. They are also known as lifted or family-based analyses. The variability-aware analyses may be too costly or even infeasible for families with a larg...
متن کاملAbstract Family-based Model Checking using Modal Featured Transition Systems: Preservation of CTL* (Extended Version)
Family-based Model Checking using Modal Featured Transition Systems: Preservation of CTL (Extended Version) Aleksandar S. Dimovski Faculty of Informatics, Mother Teresa University, Skopje, Mkd Abstract. Variational systems allow effective building of many custom variants by using features (configuration options) to mark the variable functionality. In many of the applications, their quality assu...
متن کاملFerula gumosa: Study on the phytochemical variability and the occurrence of adulterations
The resin of Ferula gumosa (galbanum) has been used in Persia for thousands of years. The habitats of this exceptional and endemic Iranian species is closely correlated to the parameters of rainfall and, mostly, to the usual winter fog. Within the last decades, the scarcity of the raw material was the reason for a dramatic increase in adulterations. Currently, more than five times the amount ac...
متن کاملFerula gumosa: Study on the phytochemical variability and the occurrence of adulterations
The resin of Ferula gumosa (galbanum) has been used in Persia for thousands of years. The habitats of this exceptional and endemic Iranian species is closely correlated to the parameters of rainfall and, mostly, to the usual winter fog. Within the last decades, the scarcity of the raw material was the reason for a dramatic increase in adulterations. Currently, more than five times the amount ac...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1503.04608 شماره
صفحات -
تاریخ انتشار 2015